import instance from './wechat_index';
const preUrlPath = '';

const wechat_getTreeData = {
    p: ['get,/wechat/image/listPath'],
    r: params => {
        return instance.get(`${preUrlPath}/wechat/image/listPath`, {params})
    }
};
const getListImage = {
    p: ['get,/wechat/image/listImage'],
    r: params => {
        return instance.get(`${preUrlPath}/wechat/image/listImage`, {params})
    }
};

const submitImageData = {
    p: ['post,/wechat/image/submit'],
    r: params => {
        return instance.post(`${preUrlPath}/wechat/image/submit`, params)
    }
};

const exportImageData = {
    p: ['post,/wechat/image/export'],
    r: params => {
        return instance.post(`${preUrlPath}/wechat/image/export`, params)
    }
};
export {
    wechat_getTreeData,getListImage,submitImageData,exportImageData
}